﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true"
    CodeBehind="MediaList.aspx.cs" Inherits="SBACN.WebSite.MediaList" %>


<%@ Import Namespace="SBACN.WebSite.Common" %>
<%@ Register Src="~/UC/ClientPager.ascx" TagName="Pager" TagPrefix="ucl" %>
<%@ Register Src="../UC/Navigator.ascx" TagName="Navigator" TagPrefix="uc2" %>
<%@ Register Src="../UC/Menu.ascx" TagName="Menu" TagPrefix="uc3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript" src="../Scripts/jquery-1.7.2.min.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <!--主内容区-->
    <div id="wrapper">
		<uc2:Navigator ID="Navigator1" runat="server" />
		<!--左边栏-->
		<uc3:Menu ID="Menu1" runat="server" />
        <!--左边栏-->
        <div id="container_r">
            <div id="pic_box">
                <img src="../images/assinfo_img.jpg" width="756" height="126" /></div>
            <div id="main_rbox">
                <asp:Repeater runat="server" ID="List">
                    <HeaderTemplate>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="border_collapse">
                            <tr>
                                <td width="5%" class="grid_title">
                                    序号
                                </td>
                                <td width="55%" class="grid_title">
                                    报道标题
                                </td>
                                <td width="25%" class="grid_title">
                                   报道媒体
                                </td>
                                <td width="14%" class="grid_title">
                                    时间
                                </td>
                            </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td class="grid_row" style="text-align: center">
                                <%# Container.ItemIndex +1+PageFlag %>
                            </td>
                            <td class="grid_row" style="text-align: left">
                                <a style="font-size:12px;" target="_blank" href="MediaShow.aspx?st=<%= SystemCode%>&id=<%#Eval("id")%>"> 
									<!--style="color: #777"-->
								<%# Eval("Title").ToString().CutTo(30,28)%>
                                 </a>
                            </td>
                            <td class="grid_row" style="text-align: left">
                                <%# Eval("MediaName").ToString().CutTo(17,15)%>
                            </td>
                            <td class="grid_row" style="text-align: center">
                                <%#Convert.ToDateTime(Eval("ReportDate")).ToString("yyyy-MM-dd")%>
                            </td>
                        </tr>
                    </ItemTemplate>
                    <AlternatingItemTemplate>
                        <tr>
                            <td class="grid_row2" style="text-align: center">
                                <%# Container.ItemIndex +1+PageFlag %>
                            </td>
                            <td class="grid_row2" style="text-align: left"> 
                                <a style="font-size: 12px;" target="_blank" href="MediaShow.aspx?st=<%= SystemCode%>&id=<%#Eval("id")%>"> <!--style="color: #777"-->
                                    <%# Eval("Title").ToString().CutTo(30, 28)%></a>
                            </td>
                            <td class="grid_row2" style="text-align: left">
                                <%# Eval("MediaName").ToString().CutTo(17, 15)%>
                            </td>
                            <td class="grid_row2" style="text-align: center">
                                <%#Convert.ToDateTime(Eval("ReportDate")).ToString("yyyy-MM-dd")%>
                            </td>
                        </tr>
                    </AlternatingItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
                <div id="page">
                    <ucl:Pager runat="server" PageSize="10" Middle_rpt_Size="10" ID="Pager1" OnSelectedPageIndexChanged="BindSelectedPageIndexChanged" />
                </div>
            </div>
        </div>
        <!--右边栏-->
    </div>
    <div style="clear: both;">
    </div>
    <!--主内容区-->
</asp:Content>
